Automattic\Jetpack\Sync\Modules\WooCommerce_Products A

Total Complexity 60
Dependencies 5
Dependents 0
Total lines 545
Lines of code 260
Logical lines of code 132
Comment lines 212
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
get_product_by_ids()
A
43 10 48
get_product_cogs_data()
A
49 8 27
get_product_types()
S
50 6 27
datetime_to_object()
S
60 4 14
get_product_meta_data()
S
58 4 13
get_next_chunk()
S
54 3 24
get_objects_by_id()
S
70 4 6
expand_product_data()
S
63 3 11
init_listeners()
S
59 1 15
action_wp_delete_post()
S
74 2 5
action_wp_trash_post()
S
74 2 5
get_product_posts()
S
62 1 12
__construct()
S
74 1 4
name()
S
82 1 3
table()
S
76 1 4
id_field()
S
82 1 3
full_sync_action_name()
S
82 1 3
init_full_sync_listeners()
S
80 1 3
get_full_sync_actions()
S
81 1 3
init_before_send()
S
79 1 3
enqueue_full_sync_actions()
S
66 1 10
estimate_full_sync_actions()
S
68 1 6
build_full_sync_action_array()
S
68 1 7
is_a_product_post()
S
74 1 4